package personal.web.mvc.io.accounting;

import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Component;

import personal.dao.support.TransactionSearchCriteria;
import personal.domain.accounting.ExpenseTransaction;
import personal.domain.accounting.IncomeTransaction;
import personal.domain.accounting.TransferTransaction;
import personal.domain.accounting.WeeklyBalance;


@Component
public class AccountingRequestParam {
	private String fbCode;
	private Long year;
	private TransactionSearchCriteria criteria;
	private ExpenseTransaction expenseTransaction;
	private IncomeTransaction incomeTransaction;
	private TransferTransaction transferTransaction;
	private Map<String, List<WeeklyBalance>> weeklyBalanceUpdates;

	public String getFbCode() {
		return fbCode;
	}
	public void setFbCode(String fbCode) {
		this.fbCode = fbCode;
	}
	public Long getYear() {
		return year;
	}
	public void setYear(Long year) {
		this.year = year;
	}
	public TransactionSearchCriteria getCriteria() {
		return criteria;
	}
	public void setCriteria(TransactionSearchCriteria criteria) {
		this.criteria = criteria;
	}
	public ExpenseTransaction getExpenseTransaction() {
		return expenseTransaction;
	}
	public void setExpenseTransaction(ExpenseTransaction expenseTransaction) {
		this.expenseTransaction = expenseTransaction;
	}
	public IncomeTransaction getIncomeTransaction() {
		return incomeTransaction;
	}
	public void setIncomeTransaction(IncomeTransaction incomeTransaction) {
		this.incomeTransaction = incomeTransaction;
	}
	public TransferTransaction getTransferTransaction() {
		return transferTransaction;
	}
	public void setTransferTransaction(TransferTransaction transferTransaction) {
		this.transferTransaction = transferTransaction;
	}
	public Map<String, List<WeeklyBalance>> getWeeklyBalanceUpdates() {
		return weeklyBalanceUpdates;
	}
	public void setWeeklyBalanceUpdates(Map<String, List<WeeklyBalance>> weeklyBalanceUpdates) {
		this.weeklyBalanceUpdates = weeklyBalanceUpdates;
	}
}
